//
//  ZGSOptionModel.m
//  MapleLeaf
//
//  Created by 邝子涵 on 15/12/8.
//  Copyright © 2015年 AntennaBabyTeam. All rights reserved.
//

#import "ZGSOptionModel.h"

@implementation ZGSOptionModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

- (void)encodeWithCoder:(NSCoder *)aCoder {
    [aCoder encodeFloat:self.light forKey:@"light"];
    [aCoder encodeBool:self.isRightHandType forKey:@"isRightHandType"];
    [aCoder encodeBool:self.isOpenReadRemind forKey:@"isOpenReadRemind"];
}

- (id)initWithCoder:(NSCoder *)aDecoder {
    self = [super init];
    if (self) {
        self.light = [aDecoder decodeFloatForKey:@"light"];
        self.isRightHandType = [aDecoder decodeBoolForKey:@"isRightHandType"];
        self.isOpenReadRemind = [aDecoder decodeBoolForKey:@"isOpenReadRemind"];
    }
    return self;
}

@end
